<?php
//code form
echo "\n";
?>
<!--Code Form -->
<div style="text-align: left; border: 2px solid #cccccc; padding: 3px; width: 80%;">

<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<span style="color: #0000BB; font-weight: bold;">&nbsp;&lt;?php</span>
<textarea cols="" style="margin: 10px; width: 98%;" id="app_code" name="app_code" rows="30"><?php echo $app_code; ?></textarea><br />
<span style="color: #0000BB; font-weight: bold;">&nbsp;?&gt;</span>
<p>
Show source with syntax highlighting: <input type="checkbox" value="1" name="app_highlight" <?php echo $app_checked; ?> />
</p>
<p>
Output Mode: <br />
&nbsp;&nbsp;&nbsp;Code: <input type="radio" name="app_mode" value="code" <?php echo $app_omc; ?> /> HTML: <input type="radio" name="app_mode" value="html" <?php echo $app_omh; ?> />
<input type="submit" value="Run..." />
</p>
</form>
</div>
<!--END Code Form-->